package com.youi.service;

import com.youi.entity.Refundorder;
import com.youi.entity.vo.ExportRefundOrderVO;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface RefundorderService extends BaseService<Refundorder> {

    /**
     * 获取非关闭状态的订单号
     *
     * @param merchantId
     * @return
     */
    List<String> getRefundOrderNo(Long merchantId);

    /**
     * 获取退款订单信息
     *
     * @param refundorderList
     * @throws IOException
     */
    void getRefundorderMsg(List<Refundorder> refundorderList) throws IOException;

    /**
     * 获取退款订单信息
     *
     * @param refundorder
     * @throws IOException
     */
    void getRefundorderMsg(Refundorder refundorder) throws IOException;

    /**
     * 获取导出的售后订单数据
     *
     * @param param
     * @return
     */
    List<ExportRefundOrderVO> listExportOrderDatas(Map<String, Object> param);
}